Repository navigation
docs(id): benchmark regression gates decision record (#5897) - #7860
Conversation
|
Caution Review failedThe pull request is closed. Walkthrough
Merge Risk:
|
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4d58d68d21
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - rationale, expected user impact, mitigation or follow-up, author, and a non-author maintainer approver; | ||
| - expiry: the PR's merge/close or 30 calendar days from approval, whichever comes first. | ||
|
|
||
| The approver must explicitly accept the stated trade-off; the PR author cannot approve their own waiver. A waiver applies only to the named cells and tested change. It does not suppress later comparisons or carry to a new head SHA. Store the record alongside the PR in a machine-readable waiver file under `pkgs/id/benches/waivers/`, and link it in the PR description and result bundle. If the regression is to become the new expected performance, use the re-baselining procedure instead of renewing the waiver. |
There was a problem hiding this comment.
Avoid binding a committed waiver to its own head SHA
For a PR with a measured blocking regression, committing the required waiver file changes the head SHA that the waiver must identify exactly (line 54). The rule that a waiver cannot carry to a new head SHA then invalidates it; updating the file to name the new head changes that SHA again. Consequently, the documented process cannot produce a valid committed waiver for the PR being approved. Store the approval outside the tested commit, or explicitly define how waiver-only commits preserve the tested change's identity.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in 077b882 (queue task 17283, lane code-c). The waiver section now binds the waiver to the tested commit (the exact head SHA at measurement), not the branch head at merge time. A waiver-only commit — a commit whose entire diff is the addition or correction of that PR's own waiver file under pkgs/id/benches/waivers/ — explicitly preserves validity, since the tested tree is unchanged outside the waiver record itself. Any other post-approval change invalidates the waiver and requires fresh measurement and approval. The approver's acceptance is additionally recorded outside the tested tree, as a PR review or comment naming the tested commit SHA. Thank you — the self-invalidation loop is closed.
Rebased onto current main by queue task 17283 (lane code-c): README index conflicts union-resolved. Codex P2 finding on this PR fixed in the same pass: a committed waiver naming the exact head SHA invalidated itself, because committing the waiver file changes that SHA. The waiver now binds to the tested commit; a waiver-only commit (diff limited to the PR own waiver file) preserves validity, any other post-approval change invalidates it, and the approver acceptance is also recorded outside the tested tree as a PR review/comment naming the tested SHA.
4d58d68 to
077b882
Compare
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
state: picked-up Shepherding PR #7860 (docs(id): benchmark regression gates decision record, issue #5897) to a terminal outcome. Fresh revalidation: PR #7860 is OPEN, no hard-stop labels. One Codex P2 finding existed and is FIXED in the rebase (see the reply on its thread): the waiver process bound a committed waiver to its own head SHA, which committing the waiver invalidates; the record now binds the waiver to the tested commit, defines waiver-only commits as validity-preserving, and records approver acceptance outside the tested tree. Branch rebased onto current main (README index conflicts union-resolved), head 077b882. The old head's failing checks (scripts-test, fleet-search parity) are pre-existing and unrelated to this docs-only change. Next: final pre-merge recheck, then merge. |
|
state: done PR #7860 is MERGED. Merge commit ef1f6b7 (2026-11-14T22:16:01Z). What was done this shift: rebased the branch onto current main in laptop worktree ~/git/fleet/queue-17283-7860 (README index conflicts union-resolved; head 077b882). The one Codex P2 finding was fixed in the record itself and dispositioned on its thread (reply 4575871880): a committed waiver naming the exact head SHA invalidated itself, so the waiver now binds to the tested commit, waiver-only commits preserve validity, any other post-approval change invalidates it, and approver acceptance is also recorded outside the tested tree. Clean merge against latest main verified with git merge-tree (exit 0) and GitHub mergeable=true immediately before merging; no failing/pending checks attributable to this docs-only change (the old head's scripts-test / fleet-search parity failures are pre-existing and unrelated). Issue #5897 stays open: this PR is its decision record; implementation and CI tiering are follow-on work per the record. |
Summary
Evidence and boundaries
Checks
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit